#ifndef CELL_H
#define CELL_H

#include "GameObject.h"

class Cell
{
public:
	Cell();
	virtual ~Cell();

	void Clear();
	void Add(GameObject* object);
	void Remove(GameObject* object);

	const std::list<GameObject*>& GetObjects() const;
	
	void SetPosition(unsigned int cellX, unsigned int cellY);
	unsigned int CellX() const;
	unsigned int CellY() const;


	// Test code
	std::string ToString() const;

protected:

private:
	std::list<GameObject*> objects;

	unsigned int cellPositionX;
	unsigned int cellPositionY;
};

#endif //CELL_H
